<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>小马视频－表格样式</title>

    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

    <!-- Optional theme -->
    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

    <!-- Latest compiled and minified JavaScript -->
    <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

</head>
<body>
    
    <div class="container">
    <table class="table table-striped table-bordered table-hover table-condensed">
        <caption>我的表格</caption>
        <thead>
            <tr>
                <th>号码</th>
                <th>姓名</th>
                <th>年龄</th>
                <th>职业</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <th>1</th>
                <td>张三</td>
                <td>18</td>
                <td>学生</td>
            </tr>
            <tr class="success">
                <th>2</th>
                <td>李四</td>
                <td>25</td>
                <td>IT工程师</td>
            </tr>
            <tr>
                <th>3</th>
                <td class="danger">王五</td>
                <td>20</td>
                <td>售货员</td>
            </tr>
            <tr>
                <th>4</th>
                <td>赵六</td>
                <td>21</td>
                <td>运输工</td>
            </tr>
            <tr>
                <th>5</th>
                <td>牛七</td>
                <td>16</td>
                <td>学生</td>
            </tr>
            <tr>
                <th>6</th>
                <td>马八</td>
                <td>28</td>
                <td>教师</td>
            </tr>
        </tbody>
    </table>
    </div>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
</body>
</html>

<!--

-->